package application;

import engine.expression.Expression;
import engine.parser.Parser;

public class App {

	public static void main(String[] args)
	{	
		Parser p = new Parser();
		Expression exp = p.parse("2+4+4+2*a*3*b*9+3+c");
		//System.out.println(exp);
		System.out.println(Expression.reduce(exp));
	}
}
